namespace :category do
 
  desc "博闻类型"
  task :add => :environment do
		["编程","生活","娱乐","趣闻","恶搞"].each do |e|
			 Category.create :name => e
		 end
  end
end
